﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="Webnet.Controls.UrlSourceTypeCtrl" mc:Ignorable="d" Margin="0">
	<UserControl.Resources>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2" SnapsToDevicePixels="true"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#F3F3F3" Offset="0"/>
			<GradientStop Color="#EBEBEB" Offset="0.5"/>
			<GradientStop Color="#DDDDDD" Offset="0.5"/>
			<GradientStop Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
		<Style x:Key="NextButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border BorderThickness="1" CornerRadius="5">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FF808278" Offset="1"/>
									<GradientStop Color="#FF96988E"/>
									<GradientStop Color="#FF808278" Offset="0.501"/>
									<GradientStop Color="#FF96988E" Offset="0.5"/>
								</LinearGradientBrush>
							</Border.Background>
							<Border.Effect>
								<DropShadowEffect BlurRadius="6" Direction="272" Opacity="0.545" ShadowDepth="3"/>
							</Border.Effect>
							<Grid Width="Auto" Height="Auto">
								<Path Fill="#FF50514B" Stretch="Fill" HorizontalAlignment="Right" Width="25.333" Data="M22.666826,-9.4368957E-15 L42.999966,2.857029E-16 C45.874985,2.857029E-16 48,1.6875 48,4.6875 L48,28.5625 C48,31.25 45.749985,33 43.874972,33 L22.666826,33 C22.666826,33 36.35424,16.520833 36.35424,16.520833 36.375073,16.520833 22.666826,-9.4368957E-15 22.666826,-9.4368957E-15 z"/>
								<Path Fill="#FF50514B" Stretch="Fill" HorizontalAlignment="Right" Width="16.625" Data="M23.209181,0.41669852 L26.084162,0.41669852 C26.084162,0.41669852 39.833385,16.583333 39.833385,16.583333 39.833385,16.583333 25.917497,33.416699 25.917497,33.416699 L23.209181,33.416699 C23.209181,33.416699 36.35424,16.520833 36.35424,16.520833 36.375073,16.520833 23.209181,0.41669852 23.209181,0.41669852 z" Margin="0,0,18.667,0"/>
								<ContentPresenter HorizontalAlignment="Left" Margin="20,0,0,0" VerticalAlignment="Center"/>
							</Grid>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsKeyboardFocused" Value="true"/>
							<Trigger Property="ToggleButton.IsChecked" Value="true"/>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</UserControl.Resources>
	<Grid Margin="20,0,10,10">
	<Grid.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="SharedResources.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Grid.Resources>
            
		<Grid.RowDefinitions>
			<RowDefinition Height="30"/>
    		<RowDefinition Height="*"/>
    		<RowDefinition Height="30"/>
		</Grid.RowDefinitions>
		<TextBlock HorizontalAlignment="Left" Margin="0,4.142,0,2.476" Foreground="White" Text="Enter url below :" TextWrapping="Wrap" FontSize="16" FontWeight="Bold" d:LayoutOverrides="Height"/>
		<TextBlock HorizontalAlignment="Left" Margin="0,2.843" Foreground="#FF242424" Text="Enter url below :" TextWrapping="Wrap" FontSize="16" FontWeight="Bold" d:LayoutOverrides="Height"/>
		<TextBox x:Name="_urlTbx" Margin="5,5,5,0" Foreground="#FF474747" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Top"/>
		<StackPanel Grid.Row="2" Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Right">
			<Button x:Name="_cancelBt" Content="Cancel" VerticalAlignment="Center" Cursor="Hand" Style="{DynamicResource StandardButtonStyle}" Height="25" Foreground="White" Margin="0,0,10,0" Width="60"/>
            
			<Button x:Name="_saveBt" Content="Save" VerticalAlignment="Center" Cursor="Hand" Style="{DynamicResource NextButtonStyle}" Width="85" Height="25" Foreground="White"/>
            
		</StackPanel>
            
	</Grid>
</UserControl>
